package com.hualan.sfzy.mapper.course;

import com.hualan.sfzy.entity.Announcement;
import com.hualan.sfzy.mapper.BaseMapper;
import com.hualan.sfzy.vo.AnnouncementVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
* @author LENOVO
* @description 针对表【announcement】的数据库操作Mapper
* @createDate 2025-07-16 21:31:34
* @Entity dao.Announcement
*/
@Mapper
public interface AnnouncementMapper extends BaseMapper<Announcement> {

    int insert(Announcement announcement);

    int update(Announcement announcement);

    int delete(Integer id);

    int deleteBatch(Integer[] ids);

    List<Announcement> select(Announcement announcement);

    Announcement selectById(Integer id);


    List<Announcement> selectAll();



    List<AnnouncementVo> selectVo();

}
